/**
 * Huisou.com Inc.
 * Copyright (c) 2011-2012 All Rights Reserved.
 */

package com.chenzehe.zdmya.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @description
 * 
 * @author chenzehe
 * @email hljuczh@163.com
 * @create 2012-7-26 下午10:32:44
 */
@Entity
@Table(name = "tbl_coupon")
public class Coupon {
	@Id
	@Column(name = "id")
	@GeneratedValue
	private Integer id;

	@Column(name = "go_url")
	private String goUrl;

	@Column(name = "title")
	private String title;

	@Column(name = "mall_id")
	private Integer mallId;

	@Column(name = "logo")
	private String logo;

	@Column(name = "summary")
	private String summary;

	@Column(name = "end_time")
	private Date endTime;

	@Column(name = "status")
	private Integer status;

	public Coupon() {

	}

	public Coupon(String goUrl) {
		this.goUrl = goUrl;
	}

	public Coupon(Integer id, String goUrl, String title, Integer mallId,
			String logo, String summary, Date endTime, Integer status) {
		this.id = id;
		this.goUrl = goUrl;
		this.title = title;
		this.mallId = mallId;
		this.logo = logo;
		this.summary = summary;
		this.endTime = endTime;
		this.status = status;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getGoUrl() {
		return goUrl;
	}

	public void setGoUrl(String goUrl) {
		this.goUrl = goUrl;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getMallId() {
		return mallId;
	}

	public void setMallId(Integer mallId) {
		this.mallId = mallId;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

}
